package Data;

public class Date {
    public int year;
    public int mounth;
    public int day;

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMounth() {
        return mounth;
    }

    public void setMounth(int mounth) {
        this.mounth = mounth;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public Date(int year, int mounth, int day) {
        this.year = year;
        this.mounth = mounth;
        this.day = day;
    }
    public void showDate()
    {
        System.out.println(year+"年"+mounth+"月"+day+"日");
    }
}
